package com.tencent.liteav.demo.play.danke;

import com.tencent.liteav.demo.play.SuperPlayerModel;
import com.tencent.liteav.demo.play.SuperPlayerView;

/**
 * @author wpq
 * @version 1.0
 */
public interface IDKVideoPlayer {

    /**
     * 竖屏播放隐藏标题栏
     */
    void hideSmallTopLayout();

    /**
     * 设置超级播放器的回掉
     */
    void addPlayerViewCallback(SuperPlayerView.PlayerViewCallback callback);

    /**
     * 播放一个点播或直播视频
     */
    void playWithMode(SuperPlayerModel superPlayerModel);

    void onPause();

    void onResume();

    void release();

    boolean onBackPressed();
}
